package com.cskaoyan.order.api;

import com.cskaoyan.mall.commons.result.ServiceCallResponse;
import com.cskaoyan.mall.order.dto.CreateSeckillOrderRequest;
import com.cskaoyan.order.service.PayOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @Description:
 * @author: jzc
 * @since: 2022/10/29 17:21
 **/
@RestController
public class PayOrderApiImpl {

    // @Autowired
    // PayOrderService payOrderService;
    //
    // //定义方法接受调用请求
    // @PutMapping(value = "/rpc/pay/success")
    // ServiceCallResponse payOrderSuccess(@RequestParam("orderId") String orderId) {
    //     ServiceCallResponse serviceCallResponse = payOrderService.payOrderSuccess(orderId);
    //     return serviceCallResponse;
    // }


}
